From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 5 Oct 2005 12:54:36 +0000 (+0100) Subject: Currently, the scripts in /etc/xen/scripts won't get overwritten if they X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16763^2~38^2~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=3d8296adbbbc1f6cad533e2bb0ace49e5d3e02f0;p=xen.git Currently, the scripts in /etc/xen/scripts won't get overwritten if they exist which means that changes can easily not get updated. This makes it so the scripts always get installed. Signed-off-by: Jeremy Katz --- diff --git a/tools/examples/Makefile b/tools/examples/Makefile index f17fbd321a..7c0266c8bc 100644 --- a/tools/examples/Makefile +++ b/tools/examples/Makefile @@ -44,7 +44,7 @@ install-configs: $(XEN_CONFIGS) [ -d $(DESTDIR)$(XEN_CONFIG_DIR)/auto ] || \ $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/auto for i in $(XEN_CONFIGS); \ - do [ -a $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \ + do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \ $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \ done @@ -52,7 +52,7 @@ install-scripts: [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR) for i in $(XEN_SCRIPTS); \ - do [ -a $(DESTDIR)$(XEN_SCRIPT_DIR)/$$i ] || \ + do \ $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ done